<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>箭头函数2</title>
</head>
<body>
    <script>
        const a = () => {
            console.log("a")
        }
        const b = num => {
            console.log(num)
        }
        const c = (num1,num2) =>{
            // console.log(num1+num2)
            return num1 + num2
        }
        const d = (num1,num2) => num1 + num2
        // a()
        // b(123)
        console.log(c(5,6))
        console.log(d(7,8))
    </script>
</body>
</html>